![]() |
Example of JSP Bean |
<HTML><HEAD> ...</HEAD> <bean name="UserInfo" varname=xtb type="TutorialXTBean" introspect="no" create="no" scope="session"> </bean> <BODY> ... If this were a real application, you would confirm your address below and provide billing information to finalize your transaction. <p> <pre> <%= xtb.getFirstname() %> <%= xtb.getLastname() %> <%= xtb.getStreet() %> <%= xtb.getCity() %>, <%= xtb.getState() %> <%= xtb.getZip() %> </pre> ... </BODY></HTML> |